import request from '@/utils/request'

export function getSettingList (query) {
  return request({
    url: '/pneumatic/settingList',
    method: 'get',
    params: query
  })
}
export function addSetting (query) {
  return request({
    url: '/pneumatic/addSetting',
    method: 'post',
    data: query
  })
}
export function activateSetting (query) {
  return request({
    url: '/pneumatic/setting/activate',
    method: 'post',
    data: query
  })
}
export function delSettings (query) {
  return request({
    url: '/pneumatic/removeSetting',
    method: 'post',
    data: query
  })
}
export function getSetting (query) {
  return request({
    url: '/pneumatic/getSetting',
    method: 'post'
  })
}
